﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Globalization;
using System.Threading;


namespace IDE_week2_Solution
{
    public partial class Form1 : Form
    {
        public Form1()
        {

            Thread.CurrentThread.CurrentUICulture = new CultureInfo("ru");
            InitializeComponent();
        }

        private void changeicon_Click(object sender, EventArgs e)
        {
            this.Icon = Properties.Resources.Icon1;
        }

        private void changelanguage_Click(object sender, EventArgs e)
        {


           


        }

        private void opennewform_Click(object sender, EventArgs e)
        {
            Form form2 = new Form();
            form2.Show();
            form2.Icon = Properties.Resources.Icon1;
        }

        private void reset_Click(object sender, EventArgs e)
        {
            Form form1 = new Form();
            this.Icon = form1.Icon;
        }

        private void callclass_Click(object sender, EventArgs e)
        {
            
             int[] numbers = new int[10];
            Class1.MakeRandomNumber(numbers);
            l1.Text = numbers[0] + ", " + numbers[1] + ", " + numbers[2];
        }
    }
}
